package com.ebay.seller;
import com.ebay.util.DBconn;
import com.opensymphony.*;
import com.opensymphony.xwork2.ActionSupport;

import java.sql.*;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Map;

public class bidDetails extends ActionSupport {
	
	private int category_id,subcategory_id,product_id,bid_id,quantity,duration;
	private float price;
	private String userID;
	Date date;
	DBconn db;
	Connection con,con1;
	String query,query2;
	ResultSet rs;
	Statement st,st1;
	Map session;
	public String execute(){
		
		return "success";
	}
	public String updateBid(){
		
		DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
		Calendar cal = Calendar.getInstance();
		//query2="insert into  bidding values('"+getCategory_id()+"','"+getSubcategory_id()+"','"+getProduct_id()+"',' ','"+currDate+"','"+bidDate+"','"+getPrice()+"')";
		
		return "success";
	}

}
